* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Playfair Display", serif;
    color: #8d8d8d;
}

.container {
    background-color: #fbe9e7;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
    font-family: "Raleway", sans-serif;
    font-size: 15px;
}

.tags__item {
    border: 1px solid #57b25f;
    color: #57b25f;
    padding: 0.125em 0.75em;
    border-radius: 2em;
}

.button {
    border: none;
    background-color: hsl(14.12deg 100% 70%);
    color: #fff;
    font-family: "Raleway", serif;
    text-transform: uppercase;
    border-radius: 2em;
    font-size: 13px;
    padding: 1.3em 3em;
    letter-spacing: 0.2em;
    font-weight: 500;
    transition: background-color 0.25s ease;
}
.button:hover{
    background-color: hsl(14.12deg 100% 65%);
}

.card {
    display: flex;
    max-width: 750px;
    background-color: white;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 14px 32px 0 rgba(0, 0, 0, 0.15);
}
.card__picture {
    display: block;
    flex-basis: 50%;
    min-height: 420px;
    overflow: hidden;
}

.card__img {
    display: block;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__content {
    padding: 52px 38px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;

}

.card__title {
    font-family: "Bentham";
    color: #474747;
    font-size: 34px;
    margin: 0;
    gap: 5px;
}

.card__text {
    margin: 0 0 15px;

}
.card__tags {
    margin-top: auto;
}

.card__bottom {
    display: flex;
    align-items: center;
    gap: 30px;
}

.card__price {
    color: #474747;
    font-family: "Suranna", serif;
    font-size: 34px;
    font-weight: bold;
    line-height: 1.3;
}


.card__button {
    flex: 1 1 auto;
}

@media only screen and (max-width: 768px) {
    .card {
        flex-direction: column;
    }
    .card__picture {
        flex-basis: 300px;
        min-height: auto;
    }

    .card__content {
        padding: 45px 38px;
    }
}

@media only screen and (max-width: 430px){
    .card__content {
    padding: 40px 30px;
    }

    .card__bottom {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        text-align: center;
    }
}
